#!/bin/bash
#----------------------------
export XMODIFIERS="@im=scim"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
export XIM=scim
#----------------------------

#----------------------------
export LANGUAGE="zh_CN:zh:en_US:en"
export LC_CTYPE="zh_CN.UTF-8"
export LANG="zh_CN.UTF-8"
export LC_TIME="zh_CN.UTF-8"
#----------------------------

#scim -d
scim -f socket -ns socket -c simple -d

#xmodmap -e "pointer = 1 2 3 6 7 4 5"  #set mouse buttons up correctly
#xsetroot -solid black                 #sets the background to black
#echo "run xprofile" >> ~/profile.log
echo "run xprofile" 

